package com.ticket.system.domain.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@ApiModel(description = "座位对象")
public class SeatDetailVo {
    @ApiModelProperty(value = "场次id")
    private Long sessionId;
    @NotNull(message = "区域编码不可以为空")
    @ApiModelProperty(value = "区域编码")
    private Integer areaId;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @NotNull(message = "排不可以为空")
    @Length(min = 1, max = 200, message = "排号不正确")
    @ApiModelProperty(value = "排")
    private Integer rowNumber;
    @NotNull(message = "号不可以为空")
    @Length(min = 1, max = 250, message = "座位号不正确")
    @ApiModelProperty(value = "座位号")
    private Integer seat;
    @ApiModelProperty(value = "票号")
    private String ticket;
    @ApiModelProperty(value = "票档名称")
    private String ticketTitle;
    @NotNull(message = "票档编码不可以为空")
    @ApiModelProperty(value = "票档编码")
    private Long priceId;
    @ApiModelProperty(value = "票档价格")
    private BigDecimal price;

    @ApiModelProperty(value = "演票信息展示")
    private String showNumber;

    private String areaName;

    private String color;
    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }


    private Integer xPos;
    public Integer getxPos() {
        return xPos;
    }

    public void setxPos(Integer xPos) {
        this.xPos = xPos;
    }


    public Long getSessionId() {
        return sessionId;
    }

    public void setSessionId(Long sessionId) {
        this.sessionId = sessionId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRowNumber() {
        return rowNumber;
    }

    public void setRowNumber(Integer rowNumber) {
        this.rowNumber = rowNumber;
    }

    public Integer getSeat() {
        return seat;
    }

    public void setSeat(Integer seat) {
        this.seat = seat;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getTicketTitle() {
        return ticketTitle;
    }

    public void setTicketTitle(String ticketTitle) {
        this.ticketTitle = ticketTitle;
    }

    public Long getPriceId() {
        return priceId;
    }

    public void setPriceId(Long priceId) {
        this.priceId = priceId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getShowNumber() {
        return showNumber;
    }

    public void setShowNumber(String showNumber) {
        this.showNumber = showNumber;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

}
